﻿using Newtonsoft.Json;

namespace RuoVea.Identity.Server;

/// <summary>
/// Jwt配置
/// </summary>
public class JWTSetting {

    /// <summary>
    /// 密钥，string 类型，必须是复杂密钥，长度大于16
    /// </summary>
  [JsonProperty("IssuerSigningKey")]
    public string IssuerSigningKey { get; set; }

    /// <summary>
    /// 过期时间，long 类型，单位分钟，默认20分钟
    /// </summary>
    public long ExpiredTime { get; set; } = 20;
}


